#include "Time.h"

class Appointment
{
private:
	Time Start;
	Time End;
	Date date;
	Year year;
	Day day;
	Month month;
	string Name;

public:
	Appointment(){}
	Appointment(string Name, Time Start, Time End, Date date)
	{
		this->Name = Name;
		this->Start = Start;
		this->End = End;
		this->date = date;
	}

	Appointment(string Name, Time Start, Time End, Year year, Month month, Day day)
	{
		this->Name = Name;
		this->Start = Start;
		this->End = End;
		this->year = year;
		this->month = month;
		this->day = day;
		this->date = Date(day,month,year);
	}

	void changeDate(Date date)
	{
		this->date = date;
	}

	void changeDate(Year year, Month month, Day day)
	{
		this->date = Date(day,month,year);
	}
	
	string getDate()
	{
		date.getDateFormat();
	}

	Time getStartTime()
	{
		return Start;
	}

	void setStartTime(Time Start)
	{
		this->Start=Start;
	}

	Time getEndTime()
	{
		return End;
	}

	void setEndTime(Time End)
	{
		this->End=End;
	}

	void changeName(string Name)
	{
		this->Name=Name;
	}

	string getName()
	{
		return Name;
	}

	void Save()
	{
		/*..*/
	}

	~Appointment(){}




}